<!-- 登录模态  -->
<div class="mask signin">
    <div class="dialog">
        <div class="dialog-header">
            登录
            <span class="close">X</span>
        </div>
        <div class="dialog-body">
            <input type="text" name="formid" value="{% form_id %}" hidden class="form-control">
            <div class="form-group">
                <input type="text" name="telephone" class="form-control" placeholder="账号">
                <span class="error telephone"></span>
            </div>
            <div class="form-group">
                <input type="password" name="password" class="form-control" placeholder="密码">
                <span class="error password"></span>
            </div>
            <div class="form-group">
                <input type="text" name="imgcode" class="form-inline" placeholder="图片验证码">
                <div class="form-inline-r">
                    <img data-src="{% url 'xfzauth:img_captcha' %}"
                         alt="" class="img">
                </div>
                <span class="error imgcode"></span>
            </div>
            <div class="form-group">
                <label>
                    <input type="checkbox" name="remember" class="form-checkbox">
                    记住我</label>
            </div>
            <div class="form-group">
                <button class="submit-btn">登录</button>
            </div>
        </div>
    </div>
</div>
<!-- 注册模态  -->
<div class="mask signup">
    <div class="dialog">
        <div class="dialog-header">
            注册
            <span class="close">X</span>
        </div>
        <div class="dialog-body">
            <div class="form-group">
                <input type="text" name="telephone" class="form-control" placeholder="手机号码">
                <span class="error telephone"></span>
            </div>
            <div class="form-group">
                <input type="text" name="username" class="form-control" placeholder="用户名">
                <span class="error username"></span>
            </div>
            <div class="form-group">
                <input type="password" name="password" class="form-control" placeholder="密码">
                <span class="error password"></span>
            </div>
            <div class="form-group">
                <input type="text" name="smscode" class="form-inline" placeholder="短信验证码">
                <div class="form-inline-r">
                    <button class="form-inline-r sms">发送短信验证码</button>
                </div>
                <span class="error smscode"></span>
            </div>
            <div class="form-group">
                <button class="submit-btn">注册</button>
            </div>
        </div>
    </div>
</div>